from config.model_config import get_chat_openai_common

config = {
        "model_name": "qwen2-72b",
        "api_base_url": "http://10.217.247.48:9050/llmm/v1",
        "api_key": "EMPTY",
        "secret": "eyJhcHBpZCI6ImRzanl5YmFpIiwiY3NpZCI6ImRzanl5YmFpeWluZ3hpYW8wMDAwMDAwMDAwMDAwMDAwZGZkNjliYmQtMzUxMi00Njk1LTg4ZGYtZDQyMDE4M2U0MzliIn0="
}

llm = get_chat_openai_common(api_key=config.get("api_key"), api_base_url=config.get("api_base_url"), secret=config.get("secret"), model_name=config.get("model_name"))
res = llm.invoke("将一个故事")
print(res)


